
/**
 * 悬浮按钮  返回顶部
 */
import util from "../../common/js/util.js";

let bottom=30;

Component({
  mixins: [],
  data: {},
  props: {
    bottom,
    onTapFabClick:function onTapFabClick(e){}
  },
  didMount() {
    if(util.isNotEmpty(this.props.bottom)){
      this.setData({
        bottom:this.props.bottom
      })
    }
    
  },
  didUpdate() {},
  didUnmount() {},
  methods: {
    onTapFabClick:function onTapFabClick(e){
      this.props.onTapFabClick(e);
    }
  },
});
